package com.yunao.service.template;

import com.yunao.commons.serachcore.core.bean.Article;

import java.util.Collections;
import java.util.List;


public class MailTextInfo {

    private String title;
    private String cancel;
    private String qq;
    private String phone;
    private String subject;
    private String time;
    private String statistics;
    private List<Article> articles;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCancel() {
        return cancel;
    }

    public void setCancel(String cancel) {
        this.cancel = cancel;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getStatistics() {
        return statistics;
    }

    public void setStatistics(String statistics) {
        this.statistics = statistics;
    }

    public List<Article> getArticles() {
        if (articles == null)
            articles = Collections.emptyList();
        return articles;
    }

    public void setArticles(List<Article> articles) {
        this.articles = articles;
    }

}
